package com.ocom.accesservice.feign;

import com.ocom.common.constant.MqSimpleApiUrl;
import com.ocom.common.entity.access.EntityAttendanceRules;
import com.ocom.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "mq-simple")
public interface MqSimpleFeign {

    @PostMapping(MqSimpleApiUrl.URL_attendance)
    public Result attendance(@RequestBody EntityAttendanceRules entityAttendanceRules) ;

}
